package com.xydtech.ecard.busi.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 电子名片业务填报其他业务类信息对象 ecard_busi_report_other
 *
 * @author yuzhiguo
 * @date 2024-09-26 下午3:38
 */
public class EcardApiBusiReportOther extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String othCustName;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String othCustPhone;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String othCustIdcard;

    /** 产品类型 */
    @Excel(name = "产品类型")
    private String othPrdType;

    /** 金额 */
    @Excel(name = "金额")
    private Long othAmount;

    /** 营销日期 */
    @Excel(name = "营销日期")
    private String perMarketingDate;

    /** 营销经理 */
    @Excel(name = "营销经理")
    private Long creatorId;

    /** 员工号 */
    @Excel(name = "员工号")
    private String userCode;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    /** 归属机构 */
    @Excel(name = "归属机构")
    private Long deptId;

    /** 管户人id */
    @Excel(name = "管户人id")
    private Long managementPersonnelId;

    /** 状态0停用,1启用 */
    @Excel(name = "状态0停用,1启用")
    private Integer state;

    /** 业务配置主键id */
    private String configId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOthCustName(String othCustName)
    {
        this.othCustName = othCustName;
    }

    public String getOthCustName()
    {
        return othCustName;
    }
    public void setOthCustPhone(String othCustPhone)
    {
        this.othCustPhone = othCustPhone;
    }

    public String getOthCustPhone()
    {
        return othCustPhone;
    }
    public void setOthCustIdcard(String othCustIdcard)
    {
        this.othCustIdcard = othCustIdcard;
    }

    public String getOthCustIdcard()
    {
        return othCustIdcard;
    }
    public void setOthPrdType(String othPrdType)
    {
        this.othPrdType = othPrdType;
    }

    public String getOthPrdType()
    {
        return othPrdType;
    }
    public void setOthAmount(Long othAmount)
    {
        this.othAmount = othAmount;
    }

    public Long getOthAmount()
    {
        return othAmount;
    }
    public void setPerMarketingDate(String perMarketingDate)
    {
        this.perMarketingDate = perMarketingDate;
    }

    public String getPerMarketingDate()
    {
        return perMarketingDate;
    }

    public void setCreatorId(Long creatorId)
    {
        this.creatorId = creatorId;
    }

    public Long getCreatorId()
    {
        return creatorId;
    }
    public void setUserCode(String userCode)
    {
        this.userCode = userCode;
    }

    public String getUserCode()
    {
        return userCode;
    }
    public void setCreationTime(Date creationTime)
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime()
    {
        return creationTime;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setManagementPersonnelId(Long managementPersonnelId)
    {
        this.managementPersonnelId = managementPersonnelId;
    }

    public Long getManagementPersonnelId()
    {
        return managementPersonnelId;
    }
    public void setState(Integer state)
    {
        this.state = state;
    }

    public Integer getState()
    {
        return state;
    }

    public String getConfigId() {
        return configId;
    }

    public void setConfigId(String configId) {
        this.configId = configId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("othCustName", getOthCustName())
                .append("othCustPhone", getOthCustPhone())
                .append("othCustIdcard", getOthCustIdcard())
                .append("othPrdType", getOthPrdType())
                .append("othAmount", getOthAmount())
                .append("perMarketingDate", getPerMarketingDate())
                .append("creatorId", getCreatorId())
                .append("userCode", getUserCode())
                .append("creationTime", getCreationTime())
                .append("deptId", getDeptId())
                .append("managementPersonnelId", getManagementPersonnelId())
                .append("state", getState())
                .append("remark", getRemark())
                .append("configId", getConfigId())
                .toString();
    }
}
